﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BCF RID: 3023
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyScrachRaffleTicketCsReq : IMessage<MonopolyScrachRaffleTicketCsReq>, IMessage, IEquatable<MonopolyScrachRaffleTicketCsReq>, IDeepCloneable<MonopolyScrachRaffleTicketCsReq>, IBufferMessage
	{
		// Token: 0x1700260F RID: 9743
		// (get) Token: 0x0600872B RID: 34603 RVA: 0x0016700D File Offset: 0x0016520D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyScrachRaffleTicketCsReq> Parser
		{
			get
			{
				return MonopolyScrachRaffleTicketCsReq._parser;
			}
		}

		// Token: 0x17002610 RID: 9744
		// (get) Token: 0x0600872C RID: 34604 RVA: 0x00167014 File Offset: 0x00165214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyScrachRaffleTicketCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002611 RID: 9745
		// (get) Token: 0x0600872D RID: 34605 RVA: 0x00167026 File Offset: 0x00165226
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyScrachRaffleTicketCsReq.Descriptor;
			}
		}

		// Token: 0x0600872E RID: 34606 RVA: 0x0016702D File Offset: 0x0016522D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyScrachRaffleTicketCsReq()
		{
		}

		// Token: 0x0600872F RID: 34607 RVA: 0x00167035 File Offset: 0x00165235
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyScrachRaffleTicketCsReq(MonopolyScrachRaffleTicketCsReq other) : this()
		{
			this.aBJCHBJJMIO_ = other.aBJCHBJJMIO_;
			this.poolId_ = other.poolId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008730 RID: 34608 RVA: 0x00167066 File Offset: 0x00165266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyScrachRaffleTicketCsReq Clone()
		{
			return new MonopolyScrachRaffleTicketCsReq(this);
		}

		// Token: 0x17002612 RID: 9746
		// (get) Token: 0x06008731 RID: 34609 RVA: 0x0016706E File Offset: 0x0016526E
		// (set) Token: 0x06008732 RID: 34610 RVA: 0x00167076 File Offset: 0x00165276
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ABJCHBJJMIO
		{
			get
			{
				return this.aBJCHBJJMIO_;
			}
			set
			{
				this.aBJCHBJJMIO_ = value;
			}
		}

		// Token: 0x17002613 RID: 9747
		// (get) Token: 0x06008733 RID: 34611 RVA: 0x0016707F File Offset: 0x0016527F
		// (set) Token: 0x06008734 RID: 34612 RVA: 0x00167087 File Offset: 0x00165287
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PoolId
		{
			get
			{
				return this.poolId_;
			}
			set
			{
				this.poolId_ = value;
			}
		}

		// Token: 0x06008735 RID: 34613 RVA: 0x00167090 File Offset: 0x00165290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyScrachRaffleTicketCsReq);
		}

		// Token: 0x06008736 RID: 34614 RVA: 0x0016709E File Offset: 0x0016529E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyScrachRaffleTicketCsReq other)
		{
			return other != null && (other == this || (this.ABJCHBJJMIO == other.ABJCHBJJMIO && this.PoolId == other.PoolId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008737 RID: 34615 RVA: 0x001670DC File Offset: 0x001652DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ABJCHBJJMIO != 0UL)
			{
				num ^= this.ABJCHBJJMIO.GetHashCode();
			}
			if (this.PoolId != 0U)
			{
				num ^= this.PoolId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008738 RID: 34616 RVA: 0x00167134 File Offset: 0x00165334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008739 RID: 34617 RVA: 0x0016713C File Offset: 0x0016533C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600873A RID: 34618 RVA: 0x00167148 File Offset: 0x00165348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PoolId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.PoolId);
			}
			if (this.ABJCHBJJMIO != 0UL)
			{
				output.WriteRawTag(72);
				output.WriteUInt64(this.ABJCHBJJMIO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600873B RID: 34619 RVA: 0x001671A4 File Offset: 0x001653A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ABJCHBJJMIO != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ABJCHBJJMIO);
			}
			if (this.PoolId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PoolId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600873C RID: 34620 RVA: 0x001671FC File Offset: 0x001653FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyScrachRaffleTicketCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ABJCHBJJMIO != 0UL)
			{
				this.ABJCHBJJMIO = other.ABJCHBJJMIO;
			}
			if (other.PoolId != 0U)
			{
				this.PoolId = other.PoolId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600873D RID: 34621 RVA: 0x0016724C File Offset: 0x0016544C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600873E RID: 34622 RVA: 0x00167258 File Offset: 0x00165458
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ABJCHBJJMIO = input.ReadUInt64();
					}
				}
				else
				{
					this.PoolId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003372 RID: 13170
		private static readonly MessageParser<MonopolyScrachRaffleTicketCsReq> _parser = new MessageParser<MonopolyScrachRaffleTicketCsReq>(() => new MonopolyScrachRaffleTicketCsReq());

		// Token: 0x04003373 RID: 13171
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003374 RID: 13172
		public const int ABJCHBJJMIOFieldNumber = 9;

		// Token: 0x04003375 RID: 13173
		private ulong aBJCHBJJMIO_;

		// Token: 0x04003376 RID: 13174
		public const int PoolIdFieldNumber = 6;

		// Token: 0x04003377 RID: 13175
		private uint poolId_;
	}
}
